[PATCH] JSON::RPC::Legacy::Client: Do not try to parse non-existing JSON#15
Open
gregoa wants to merge 1 commit intolestrrat-p5:masterfrom
Open
[PATCH] JSON::RPC::Legacy::Client: Do not try to parse non-existing JSON#15gregoa wants to merge 1 commit intolestrrat-p5:masterfrom
gregoa wants to merge 1 commit intolestrrat-p5:masterfrom
Conversation
|
Hey @gregoa, thanks for forwarding the patch! (Sorry should have done that myself, and noticed now when I tried to do exactly that :). I think though the attribution in the patch in the MR is wrong? Also the [PATCH] prefix also seems to have slipped in. |
e6298e5 to
bcf6d91
Compare
Author
|
On Mon, 17 Mar 2025 16:25:53 -0700, Guillem Jover wrote:
Hey @gregoa, thanks for forwarding the patch! (Sorry should have
done that myself, and noticed now when I tried to do exactly that
:).
You're welcome.
I think though the attribution in the patch in the MR is wrong?
Also the [PATCH] prefix also seems to have slipped in.
Hm, yeah, these seem to be unfortunate side effects of my workflow
and our tooling … What seems to happen here is:
* I took your diff (which you probably produced with `git
format-patch`) from the Debian BTS and added it to the packing with
`quilt import`.
* I committed this file (and `d/p/series`) with you as the author:
https://salsa.debian.org/perl-team/modules/packages/libjson-rpc-perl/-/commit/c07f7b9dff87f6cd656e43d36575cd5b8fbe0899
* Then I ran `dpt forward debian/patches/0001-JSON-RPC-Legacy-Client-Do-not-try-to-parse-non-exist.patch`
(from `pkg-perl-tools`) which forks the upstream repo, transforms
the patch (i.e. the diff file in `d/patches`) to a commit, pushes
it and creates a merge request.
* And here it adds the "[PATCH]", which makes sens for pure mails to
the CPAN RT but not so much; and your authorship is gone as the
commit in the forked repo, based on the patch file, is done by my
user …:
pkg-perl-tools@e6298e5
whereas the info in the merge request at #15
still has the right information (again, this is taken from the diff
file.
So the combination of "the original patch is not some random diff but
a nice git commit" with `quilt import` and then creating a new commit
in a forked upstream repo with `dpt-forward` might have some room for
improvement :)
https://salsa.debian.org/perl-team/modules/packages/pkg-perl-tools/-/blob/master/scripts/forward?ref_type=heads
I've now updated and force-pushed the commit in the forked upstream
repo:
pkg-perl-tools@bcf6d91
Cheers,
gregor
…--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
|
|
Thanks for the updated commit @gregoa ! :D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In Debian we are currently applying the following patch to JSON-RPC.
We thought you might be interested in it too.
The patch is tracked in our Git repository at
https://salsa.debian.org/perl-team/modules/packages/libjson-rpc-perl/raw/master/debian/patches/0001-JSON-RPC-Legacy-Client-Do-not-try-to-parse-non-exist.patch
Thanks for considering,
gregor herrmann,
Debian Perl Group